package com.lanou.mapper;

import com.lanou.bean.Product;
import com.lanou.bean.ProductPhoto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by dllo on 18/3/13.
 */
public interface ProductPhotoMapper {

    Integer selectCount(@Param("productId")Integer productId);

    List<ProductPhoto> findProPhoto(@Param("pId") Integer pid);

    List<ProductPhoto> selectConstructPhoto(@Param("productId")Integer productId);
  Integer selectPhotoNum(@Param("pId")Integer pId );
}